package wine.logic.entity;


import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * The persistent class for the W_MODULE database table.
 * 
 */
@Entity
@Table(name="W_MODULE")
public class WModule implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name="IMODULEID")
	private long imoduleid;

	@Column(name="IORDER")
	private Long iorder;

	@Column(name="IPARENTID")
	private Long iparentid;

	@Column(name="MODULE_TYPE")
	private Long moduleType;

	@Column(name="SMODULENAME")
	private String smodulename;

    public WModule() {
    }

	public long getImoduleid() {
		return this.imoduleid;
	}

	public void setImoduleid(long imoduleid) {
		this.imoduleid = imoduleid;
	}

	public Long getIorder() {
		return this.iorder;
	}

	public void setIorder(Long iorder) {
		this.iorder = iorder;
	}

	public Long getIparentid() {
		return this.iparentid;
	}

	public void setIparentid(Long iparentid) {
		this.iparentid = iparentid;
	}

	public Long getModuleType() {
		return this.moduleType;
	}

	public void setModuleType(Long moduleType) {
		this.moduleType = moduleType;
	}

	public String getSmodulename() {
		return this.smodulename;
	}

	public void setSmodulename(String smodulename) {
		this.smodulename = smodulename;
	}

}